package za.co.dylanjaneke.airdownloader.controller
{
	import org.granite.tide.ITideModule;
	import org.granite.tide.Tide;
	
	import za.co.dylanjaneke.airdownloader.controller.data.ConnectionManager;
	
	/**
	 * Author: Dylan Janeke.
	 */
	public class ModuleConfiguration implements ITideModule
	{
		public function ModuleConfiguration()
		{
		}
		
		public function init(tide:Tide):void
		{
			tide.addComponent("globalEventDispatcher", GlobalEventDispatcher);
			tide.addComponent("connectionManager", ConnectionManager);
			
			tide.addModule(CommandModule);
			tide.addModule(PresentationModelModule);
			
		}
	}
}